package com.atguigu.vodservice.service;

import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author alan
 */
public interface VideoService {

    /**
     * 视频上传
     */
    String uploadVideo(MultipartFile file);

    /**
     * 通过视频ID删除单个视频
     */
    Boolean deleteVideoById(String id);

    /**
     * 通过视频ID删除多个视频
     */
    Boolean deleteVideoByIds(List<String> ids);
}
